package com.soft.mainsite.module.viewshow.service;

import com.soft.mainsite.module.viewshow.dao.ViewShowDao;
import com.soft.mainsite.module.viewshow.entity.ViewShow;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 内容新增动态展示Service实现
 *
 * @author liupengtao
 * @date 2019/05/27
 */
@Service
public class ViewShowServiceImpl implements ViewShowService{

    @Autowired
    private ViewShowDao viewShowDao;

    /**
     * 根据栏目id查询所有要展示字段
     * @param categoryId
     * @return
     */
    @Override
    public ViewShow selectShowIds(Integer categoryId) {
        return viewShowDao.selectShowIds(categoryId);
    }
}
